package com.ruoyi.marketing.domain;

import lombok.*;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 营销活动列表对象 award_page
 *
 * @author hao
 * @date 2023-01-31
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("award_page")
public class AwardPage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 营销活动id */
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    /** 活动id */
    @Excel(name = "活动id")
    @TableField("activity_id")
    private Long activityId;
    /**
     * 活动对象
     */
    @TableField(exist = false)
    private MarketingActivity marketingActivity;

    /** 参与班级数 */
    @Excel(name = "参与班级数")
    @TableField("grades")
    private Long grades;

    /** 参加人数 */
    @Excel(name = "参加人数")
    @TableField("person")
    private Long person;

    /** 积累现金奖励 */
    @Excel(name = "积累现金奖励")
    @TableField("money")
    private Long money;
}
